package wxk.Bonus.Constant;


/*
 * Constant Variable defination
 * */
public class DBContant {

public final static String G_TAG="DBLIB_";
public final static String DOUBLEBALL_PATTERN_1= "(\\d{7}) (\\d{4}-\\d{2}-\\d{2})( \\d\\d){7} ";   	
public final static String DOUBLEBALL_PATTERN_TAIL= "\\s+(\\d{4}-\\d{2}-\\d{2})( \\d\\d){7} ";//exclude term part
//bigbouns
public final static String BIGBONUS_PATTERN_1= "(\\d{5}) (\\d{4}-\\d{2}-\\d{2})( \\d\\d){7} ";   	
public final static String BIGBONUS_PATTERN_TAIL= "\\s+(\\d{4}-\\d{2}-\\d{2})( \\d\\d){7} ";//exclude term part
//web url
public final static String URL_UNIONLOTTO="http://www.17500.cn/getData/ssq.TXT";
public final static String URL_SUPERLOTTO="http://www.17500.cn/getData/dlt.TXT";
//file name
public final static String FILE_DOUBLEBALL="ssq.TXT";
public final static String FILE_DLT="dlt.TXT";

//database part
public final static int BULK_INSERT_LINES=100;//sqlite bulk insert line number
//
public final static int DOUBELBALL_MAX_LEN=35;//max record length
public final static int DOUBELBALL_REDBALL_MAX_LEN=33;//max record length
//union lottom sql
public final static String READALL_UNION="select term,day,red1,red2,red3,red4,red5,red6,blue from _DBHISTORY order by term asc";
public final static String DELETEALL_UNION="delete  from _DBHISTORY";
public final static String UNION_TABLE="_DBHISTORY";

public final static int  SLEEP_COUNT=100;//sleep time let main UI Thread to update
//
public final static int TERM_WIDTH=84;
public final static int BLUE_WIDTH=56;
}
